<?php if (!defined('THINK_PATH')) exit();?><!doctype>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
		<title>用户中心</title>
		<link rel="stylesheet" href="/Public/gold/rem_zy/css/style.css">
		<link rel="stylesheet" href="/Public/gold/rem_zy/css/userCenter.css">
		<link rel="stylesheet" type="text/css" href="/Public/gold/css/public.css"/>
		<script src="/Public/gold/rem_zy/js/jquery.min.js"></script>
		<script type="text/javascript" src="/Public/gold/rem_zy/js/index.js"></script>
	</head>
	<body>

		<div id="head">
			<p class="title l">淘金果园</p>
			<ul class="user r">
				<li class="l">
					<img src="/Public/gold/rem_zy/images/userCenter/yonghuzhongxin.png">
				</li>
				<li class="l">
					<a href="<?php echo U('Farm/index');?>">
						<img src="/Public/gold/rem_zy/images/userCenter/tuichu.png">
					</a>
				</li>
			</ul>
		</div>
		<div id="banner">
			
		</div>
		<ul id="list">
			<li class="keng"><span>+</span> 用户中心</li>
			<li class="zhouyun">
				<ul>
					<li><a href="userCenter.html">账户概要</a></li>
					<li><a href="<?php echo U('Member/memberSafeCenter');?>" style="color:#f4771c;">安全设置</a></li>
					<li><a href="userCenter_fruit.html">果园钱包</a></li>
					<li><a href="userCenter_zhanghu.html">账户充值</a></li>
					<li><a href="userCenter_jinbi.html">金币提现</a></li>
					<li><a href="userCenter_coinDetails.html">金币充值</a></li>
				</ul>
			</li>
			<li class="keng"><span>+</span> 农贸市场</li>
			<li class="zhouyun">
				<ul>
					<li><a href="market_weituogl.html">委托管理</a></li>
					<li><a href="market_jiaoyijl.html">交易记录</a></li>
					<li><a href="market_fruitReLive.html">果实重生</a></li>
					<li><a href="market_reLiveList.html">重生记录</a></li>
					<li><a href="market_fruitGiving.html">果实赠送</a></li>
					<li><a href="market_givingList.html">赠送记录</a></li>
				</ul>
			</li>
			<li class="keng"><span>+</span> 推广中心</li>
			<li class="zhouyun">
				<ul>
					<li><a href="<?php echo U('Member/memberCode');?>">推广链接</a></li>
					<li><a href="<?php echo U('Member/memberList');?>">推广列表</a></li>
					<li><a href="extensionCenter_reward.html">推广奖励</a></li>
					<li><a href="extensionCenter_code.html">补推广码</a></li>
					<li><a href="<?php echo U('Member/memberContact');?>">联系资料</a></li>
					<li><a href="<?php echo U('Member/memberTeacher');?>">我的导师</a></li>
				</ul>
			</li>
		</ul>
		
		<h1 id="my">个人首页</h1>
		<div id="userMessage">
			<div class="userHead l">
				<img src="<?php echo ($memberData["member_avatar"]); ?>">
			</div>
			<div class="message l">
				<h3 class="hello">您好 <span><?php echo ($memberData["member_realname"]); ?></span></h3>
				<p class="login">ID：<?php echo ($memberData["member_id"]); ?>  </p>
				<!--<p class="login">登录：2017/05/13</p>-->
				<p class="login">账号：<?php echo ($memberData["member_tel"]); ?></p>
			</div>
		</div>
		<div id="three">
			<dl class="l">
				<dt>
					<img src="/Public/gold/rem_zy/images/userCenter/shiming.png">
				</dt>
				<dd>实名认证</dd>
			</dl>
			<dl class="l">
				<dt>
					<img src="/Public/gold/rem_zy/images/userCenter/tixian.png">
				</dt>
				<dd>提现账户</dd>
			</dl>
			<dl class="l">
				<dt>
					<img src="/Public/gold/rem_zy/images/userCenter/putong.png">
				</dt>
				<dd>普通会员</dd>
			</dl>
		</div>

		<div id="foot">
			<ul class="money">
				<li class="l">
					<span>
					<?php	 echo sprintf('%.2f',$memberData['member_gold'] + $memberData['member_frozen_gold']); ?>
					</span>
					<span>账户总额</span>
				</li>
				<li class="l">
					<span><?php echo ($memberData["member_frozen_gold"]); ?></span>
					<span>冻结金币</span>
				</li>
				<li class="l">
					<span><?php echo ($memberData["member_gold"]); ?></span>
					<span>可用金币</span>
				</li>
			</ul>
		</div>
	</body>
</html>